Motion.GetAxisParameter method
Gets the value of a vendor-specific parameter from an axis. The returned value has to be converted to double if necessary. If not possible, the vendor has to supply a vendor-specific method to read the parameter. The parameters are defined in McAxisParameter.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsReturn<double> GetAxisParameter(
int Index,
McAxisParameter ParameterNumber
)
Public Function GetAxisParameter(
Index As Integer,
ParameterNumber As McAxisParameter
) As KsReturn(Of Double)
Parameters
Index [in]
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
ParameterNumber [in]
Type: McAxisParameter
A parameter from McAxisParameter. You can use the parameter name or its corresponding number.
Return value
Returns a KsError code and a double value.
Examples
N/A
See also